runtime.mutex.key (field)
12 uses
runtime (current package)
lock_futex.go#L48: return atomic.Load(key32(&l.key)) > mutex_locked
lock_futex.go#L64: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L89: for l.key == mutex_unlocked {
lock_futex.go#L90: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L100: for l.key == mutex_unlocked {
lock_futex.go#L101: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L110: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L116: futexsleep(key32(&l.key), mutex_sleeping, -1)
lock_futex.go#L125: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L130: futexwakeup(key32(&l.key), 1)
mheap.go#L1707: span.speciallock.key = 0
runtime2.go#L170: key uintptr
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |